package com.eedi.framework.oauth2.controller.sys.vo.token;

import com.eedi.framework.common.enums.UserTypeEnum;
import com.eedi.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "系统界面 - 访问令牌分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysOAuth2AccessTokenPageReq extends PageParam {

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
    private String sysUserId;

    @Schema(description = "用户类型，参见 UserTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private UserTypeEnum sysUserType;

    @Schema(description = "客户端编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String systemOauth2ClientId;

}
